package com.portal.cwegportal.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Configuration
@ConfigurationProperties(prefix = "remote", ignoreUnknownFields = false)
@PropertySource("classpath:remote.properties")
@Component
public class RemoteProperties {
    private String AppCenterServiceUrl;
    private String AppCenterUrl;
    private String MailDomain;
    private String MailApiUrl;
    private String MailAdminApiUrl;
    private String MailApiKey;
    private String MailApiSecret;
    private String MailLoginUrl;
    private String MailAdminAccount;
    private String MailAdminPassword;
    private String DingAppCode;

    public String getAppCenterServiceUrl() {
        return AppCenterServiceUrl;
    }

    public void setAppCenterServiceUrl(String appCenterServiceUrl) {
        AppCenterServiceUrl = appCenterServiceUrl;
    }

    public String getAppCenterUrl() {
        return AppCenterUrl;
    }

    public void setAppCenterUrl(String appCenterUrl) {
        AppCenterUrl = appCenterUrl;
    }


    public String getMailDomain() {
        return MailDomain;
    }

    public void setMailDomain(String mailDomain) {
        MailDomain = mailDomain;
    }

    public String getMailApiUrl() {
        return MailApiUrl;
    }

    public void setMailApiUrl(String mailApiUrl) {
        MailApiUrl = mailApiUrl;
    }

    public String getMailAdminApiUrl() {
        return MailAdminApiUrl;
    }

    public void setMailAdminApiUrl(String mailAdminApiUrl) {
        MailAdminApiUrl = mailAdminApiUrl;
    }

    public String getMailApiKey() {
        return MailApiKey;
    }

    public void setMailApiKey(String mailApiKey) {
        MailApiKey = mailApiKey;
    }

    public String getMailApiSecret() {
        return MailApiSecret;
    }

    public void setMailApiSecret(String mailApiSecret) {
        MailApiSecret = mailApiSecret;
    }

    public String getMailLoginUrl() {
        return MailLoginUrl;
    }

    public void setMailLoginUrl(String mailLoginUrl) {
        MailLoginUrl = mailLoginUrl;
    }

    public String getMailAdminAccount() {
        return MailAdminAccount;
    }

    public void setMailAdminAccount(String mailAdminAccount) {
        MailAdminAccount = mailAdminAccount;
    }

    public String getMailAdminPassword() {
        return MailAdminPassword;
    }

    public void setMailAdminPassword(String mailAdminPassword) {
        MailAdminPassword = mailAdminPassword;
    }

    public String getDingAppCode() {
        return DingAppCode;
    }

    public void setDingAppCode(String dingAppCode) {
        DingAppCode = dingAppCode;
    }
}

